package com.hydra.auth.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.hydra.base.entity.CodeUserTimeEntity;
import com.hydra.base.operate.log.annotation.OperateLogProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <dl>
 * <dd>Description: 数据字典值 </dd>
 * <dd>@date：2020/1/8 11:29</dd>
 * <dd>@author：Hydra/dd>
 * </dl>
 */
@TableName(value = "basic_dict_data")
@Accessors(chain = true)
public class DictData extends CodeUserTimeEntity {

    private static final long serialVersionUID=1L;

    @Getter @Setter
    @OperateLogProperty("字典编码")
    private String typeCode;

    @Getter @Setter
    @OperateLogProperty("名称")
    private String name;

    @Getter @Setter
    @OperateLogProperty("编码值")
    private String value;

    @Getter @Setter
    @OperateLogProperty("描述")
    private String description;

    @Getter @Setter
    @OperateLogProperty("排序号")
    private Integer sort;

    @Getter @Setter
    @OperateLogProperty(name="状态", dict = "COMMON_STATUS_DICT_DATA")
    private String status;

}
